package com.falcon.service;

import java.util.List;

import com.falcon.mvc.domain.BasePager;

import com.falcon.domain.dos.UserRoleDO;
import com.falcon.domain.req.UserRoleQuery;
import com.falcon.domain.req.UserRoleRequest;

public interface IUserRoleService {

    Long save(UserRoleRequest request);

    Boolean update(Long id, UserRoleRequest request);

    Boolean deleteById(Long id);

    UserRoleDO queryById(Long id);

    List<UserRoleDO> queryList(UserRoleQuery request);

    BasePager<UserRoleDO> queryPager(UserRoleQuery request);

    int batchDelete(List<Long> ids);

}
